Skip to content

RATIS-2544. [INFRA] Set up ruleset for default and release branches#1461

Merged
adoroszlai merged 2 commits into
masterfrom
infrastructure-ruleset-bot/default-branch-protection
Jun 4, 2026
Merged

RATIS-2544. [INFRA] Set up ruleset for default and release branches#1461
adoroszlai merged 2 commits into
masterfrom
infrastructure-ruleset-bot/default-branch-protection

Conversation

@asf-gitbox-commits
Copy link
Copy Markdown
Contributor

This Pull Request enables the repository to conform with the "sane default security settings" of the Apache Software Foundation by configuring a default branch ruleset that protects the default branch and any release branches.

Note that ~DEFAULT_BRANCH is a GitHub symbolic link to the current default branch (HEAD) of the repository and does not need changing.
If the managing project does not wish to set up these defaults, please close this Pull Request. Alternatively, the project may merge this Pull Request to apply the changes immediately.

If no action is taken, this Pull Request will be automatically merged by the Apache Infrastructure team on 2026-06-14 (30 days from now).

For any further information, please reach us on Slack or at: users@infra.apache.org

@adoroszlai adoroszlai changed the title [INFRA] Set up default rulesets for default and release branches RATIS-2544. [INFRA] Set up ruleset for default and release branches May 21, 2026
Comment thread .asf.yaml Outdated
@adoroszlai
Copy link
Copy Markdown
Contributor

@szetszwo Should we delete these non-release branches before enabling branch protection?

@szetszwo
Copy link
Copy Markdown
Contributor

Sure. Just deleted all the review branches.

  • release-3.1.3_review
  • release-3.1.2_review
  • branch-3.1.1_review

@adoroszlai adoroszlai dismissed their stale review June 3, 2026 13:53

patch updated

@adoroszlai adoroszlai requested a review from szetszwo June 3, 2026 20:43
Copy link
Copy Markdown
Contributor

@szetszwo szetszwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 the change looks good.

@adoroszlai adoroszlai merged commit 81a3284 into master Jun 4, 2026
37 checks passed
@adoroszlai
Copy link
Copy Markdown
Contributor

Thanks @szetszwo for the review.

@adoroszlai adoroszlai deleted the infrastructure-ruleset-bot/default-branch-protection branch June 4, 2026 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants